import os

from yuekao.Until.until import *
import pytest
if __name__ == '__main__':
    get_log()
    pytest.main([r'D:\gao62301a\zoukaogao6\yuekao\Case\test_jiekou.py','-s','--clean-alluredir','--alluredir==./report.html'])
    os.system('allure generate report -o html --clean')
    email([r'D:\gao62301a\zoukaogao6\yuekao\log.log','D:\gao62301a\zoukaogao6\yuekao\html\index.html'])

